package com.leyou.order.dto;

import com.sun.istack.internal.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author: wangzibeng
 * Date: 2019/5/20 0020
 * Time: 12:59
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDTO {
    /**
     * 收获人地址id
     */
    @NotNull
    private Long addressId;
    /**
     * 付款类型
     */
    @NotNull
    private Integer paymentType;
    /**
     * 订单详情
     */
    @NotNull
    private List<CartDTO> carts;
}